#ifndef CPCAPSENDQUEUE_H
#define CPCAPSENDQUEUE_H

#include "pcaphandle.h"
#include "pcappacket.h"

class CPCapSendQueue : public QObject
{
    Q_OBJECT
public:
    explicit CPCapSendQueue(QObject *parent = Q_NULLPTR);
    ~CPCapSendQueue();

    Q_INVOKABLE int append(CPCapPktData *data);
    Q_INVOKABLE int transmit(CPCapHandle *handle);

private:
    void *m_queue = 0;
};

#endif // CPCAPSENDQUEUE_H
